public class Book{
    private String id;
    private String name;
    private String author;
    private int price;
    public Book(){
        this.id = "-1";
        this.name = "None";
        this.author = "None";
        this.price = -1;
    }
    public Book(String _id, String _name, String _author, int _price){
        this.id = _id;
        this.name = _name;
        this.author = _author;
        this.price = _price;
    }
    public String getId(){return this.id;}
    public String getName(){return this.name;}
    public String getAuthor() {return this.author;}
    public int getPrice(){return this.price;}
    public void setId(String _id){this.id = _id;}
    public void setName(String _name){this.name = _name;}
    public void setAuthor(String _author){this.author = _author;}
    public void setPrice(int _price){this.price = _price;}
}